#include"stdio.h"
main()
{
	double height,radius,v;
	double cylinder(double r,double h);
	printf("Enter radius and height:");
	scanf("%f%f",&radius,&height);
	v=cylinder(radius,height);
	printf("Volume=%.3f\n",v);
	return 0;
}
double cylinder(double r,double h)
{
	double result;
	result=3.1415926*r*r*h;
	return result;
}
